package com.xbongbong.paas.service;


import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.pojo.FieldAttrEntityForImport;
import com.xbongbong.paas.pojo.dto.FormDataListDTO;
import com.xbongbong.paas.pojo.vo.AfterSaveVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.listbatch.pojo.dto.OnlineDTO;
import com.xbongbong.pro.marketing.pojo.dto.MarketingManagementDataAddDTO;
import com.xbongbong.pro.marketing.pojo.dto.MarketingManagementDataUpdateDTO;
import com.xbongbong.pro.marketing.pojo.dto.MarketingManagementDeleteBatchDTO;
import com.xbongbong.pro.marketing.pojo.vo.MarketingManagementDeleteBatchVO;

import java.util.List;

/**
 * 创建时间： 2021/1/5 16:44
 * @author jyh
 */
public interface PromotionActivityService {


    AfterSaveVO add(MarketingManagementDataAddDTO marketingManagementDTO) throws XbbException;

    void syncCategory(Long categoryId, Long productId, String corpid);

    MarketingManagementDeleteBatchVO deleteBatch(MarketingManagementDeleteBatchDTO marketingManagementDeleteBatchDTO) throws XbbException;

    AfterSaveVO update(MarketingManagementDataUpdateDTO marketingManagementDTO) throws XbbException;

    void formatExportValue(List<PaasFormDataEntityExt> paasFormDataESList, FormDataListDTO formDataListDTO, List<FieldAttrEntityForImport> fieldAttrList) throws XbbException;

    void online(OnlineDTO onlineDTO) throws XbbException;
}
